home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / cpt20.arc / CPT_HELP.TXT next >
Encoding:
Text File  |  1987-02-11  |  9.3 KB  |  118 lines

  1. ┌─────────────────────────────────────────────────────────────────────────────┐
  2. │ CPT ( CoPy_Tree ) -- Copy a directory tree.                                 │
  3. │   CPT is a multipurpose tool for copying, merging, and replacing files      │
  4. │   and directories.  To copy files only, use the DOS COPY command.           │
  5. │   When CPT is used to merge two trees only those files that have changed    │
  6. │   may be copied.                                                            │
  7. │                                                                             │
  8. │ FORMAT                                                                      │
  9. │   CPT source_pathname target_pathname [options]                             │
  10. │                                                                             │
  11. │ ARGUMENTS                                                                   │
  12. │   source_pathname  Specify the directory tree to be copied.                 │
  13. │   target_pathname  Specify the directory tree to be created, replaced, or   │
  14. │                    merged.  The target_pathname can not be a file.          │
  15. │                                                                             │
  16. │ OPTIONS                                         (use /no<option> to disable)│
  17. │                                                                    (default)│
  18. │   /attr xx   Set the DOS file attributes of the destination file      (None)│
  19. │              to the specified 'xx'.  The 'xx' field may be any or all       │
  20. │              of the following characters:                                   │
  21. │              'a' - set archived flag                                        │
  22. │              'h' - set hidden flag                                          │
  23. │              'r' - set readonly flag                                        │
  24. │              's' - set system flag                                          │
  25. │              By default CPT preserves the source attributes.                │
  26. │                                                                             │
  27. │   /copy      Force copy of object even if source and destination     (False)│
  28. │              files have the same date/time/size attributes.  The            │
  29. │              /mdate, /msize, and /mtime switches are ignored.               │
  30. │                                                                             │
  31. │   /del       Force deletion of target file even if the file is       (False)│
  32. │              readonly.                                                      │
  33. │                                                                             │
  34. │   /help      Help, prints this help.                                        │
  35. │                                                                             │
  36. │   /l         List all objects as they are copied.                     (True)│
  37. │                                                                             │
  38. │   /ld        List directories as they are copied.                     (True)│
  39. │                                                                             │
  40. │   /ldl       List only objects deleted as a result of replacements.  (False)│
  41. │              (not implemented)                                              │
  42. │                                                                             │
  43. │   /lf        List files as they are copied.                           (True)│
  44. │                                                                             │
  45. │   /look      Only look at what would be copied, do not copy          (False)│
  46. │              anything.                                                      │
  47. │                                                                             │
  48. │   /lskip     List files skipped when source matches destination.     (False)│
  49. │                                                                             │
  50. │   /mdate     Match based on file date stamp.  If a source filename    (True)│
  51. │              matches a target filename do not copy the source if the        │
  52. │              date stamps of the files are the same.                         │
  53. │                                                                             │
  54. │   /mnew      When using /mdate and /mtime for matching only copy      (True)│
  55. │              files that are newer than the destination file.                │
  56. │                                                                             │
  57. │   /msize     Match based on file size.  If a source filename          (True)│
  58. │              matches a target filename do not copy the source if the        │
  59. │              files are the same size.                                       │
  60. │                                                                             │
  61. │   /mtime     Match based on file time stamp.  If a source filename    (True)│
  62. │              matches a target filename do not copy the source if the        │
  63. │              time stamps of the files are the same.                         │
  64. │                                                                             │
  65. │   /o ext     Copy only files whose extensions are the same as the     (None)│
  66. │              given extension. Several '/o ext' pairs may be specified.      │
  67. │                                                                             │
  68. │   /pack      Pack, copy, the tree into a single file, the target     (False)│
  69. │              pathname.  The file can be unpacked into a tree using the      │
  70. │              /unpack switch.  As the tree is packed the source              │
  71. │              files data is compacted using several data compression         │
  72. │              schemes.                                                       │
  73. │                                                                             │
  74. │   /pdt       Preserve the source's modification date and times.       (True)│
  75. │                                                                             │
  76. │   /unpack    Unpack a packed file into a tree.  Creates a tree from  (False)│
  77. │              a file generate using the /pack switch on a tree.              │
  78. │                                                                             │
  79. │   /verify    Sets the DOS verify flag to TRUE when copying files.    (False)│
  80. │              This slows CPT down by approximately 30%. It can               │
  81. │              not be used to turn global DOS verify off.                     │
  82. │                                                                             │
  83. │   /warning   Print warning messages.                                  (True)│
  84. │                                                                             │
  85. │ EXAMPLES                                                                    │
  86. │   cpt a:\ c:\dos               Copy all of floppy A: to directory "\DOS"    │
  87. │                                on drive C:                                  │
  88. │   cpt /user/sei/demo demo      Copy the "\user\sei\demo" tree to the        │
  89. │                                directory "demo" in the currect directory    │
  90. │                                                                             │
  91. │ LIMITS                                                                      │
  92. │   Maximum number of items in a directory, 1200.                             │
  93. │   Maximum depth of subdirectories, 64.                                      │
  94. │   Maximum number of command line '/o' extensions, 10                        │
  95. │   Developed on DOS 3.2, should work on DOS 3.0                              │
  96. │                                                                             │
  97. │ LOCATION   C:\SEI\UPLOAD.001\CPT.EXE                                        │
  98. │                                                                             │
  99. █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
  100. █         CPT Version 2.00  Wednesday, February 11, 1987  8:49:56 pm          █
  101. █                                                                             █
  102. █         (C) Copyright, 1986 by Synergistic Enterprises Inc.  (SEI)          █
  103. █ All Rights Reserved.                                    Registration #00030 █
  104. █                            Author: Chane Cullens                            █
  105. █                                                                             █
  106. █          Send your comments, questions, problems, registration to:          █
  107. █                         12505 SW North Dakota #1714                         █
  108. █                              Tigard, OR 97223                               █
  109. █                                503-684-7819                                 █
  110. █  This is a user supported product.  With  your support we can continue to   █
  111. █  improve and expand it.  If you find CPT.EXE to be of use, a registration   █
  112. █  fee of $15.00 is strongly suggested.   A program disk, a printed manual,   █
  113. █                 and a free update are available for $45.00.                 █
  114. █                                                                             █
  115. █You are encouraged to copy and share this program with others, provided that:█
  116. █        1.  No fee is charged for any copying or distribution, and           █
  117. █        2.  It is distributed only in its original unmodified state.         █
  118. █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█